<div class="container-fluid" style="padding: 20px 10px 0px 10px">
	<div class="row-fluid">
		<div class="well">
		    <ul class="nav nav-tabs">
		      <li class="active"><b>修改用户信息</b></li>
		    </ul>
		    <div id="myTabContent" class="tab-content">
				<div class="tab-pane active in" id="home">
					<form id="formid" action="/index.php/index/userEdit" method="post">
						<p>真实姓名：<input type="text" value="<?=$user['cust_realname']?>" placeholder="" style="width:570px" name="cust_realname" type='text' class="checkname"></p>
						<p>手机号码：<input type="text" value="<?=$user['cust_mobile']?>" placeholder="" style="width:570px" name="cust_mobile" type='text' class="">
						<p>微信昵称：<input type="text" value="<?=$user['nickname']?>" placeholder="" style="width:570px" name="nickname" type='text' class="">
						<p><div id="setImd" style="display:inline">分类图片：<input type="text" name="cust_img" class="setImdText" style="width:411px" value="<?=$user['cust_img']?>" readonly> <input type="button" class="btn btn-info setImdBtn" style='margin-top:-8px' value="选择图片">&nbsp;<a class="btn btn-warning  picViews" <?=$user['cust_img'] ? '' : 'disabled title="暂不可用"'?> url="<?=$user['cust_img'] ? transUrl($user['cust_img']) : ''?>" style='margin-top:-8px'>查看</a></div></p>
						<input type="hidden" value="1" name="dosubmit" />
						<input type="hidden" value="<?=I('get.cust_id')?>" name="cust_id" />
						
					</form>
				</div>
				<div class="btn-toolbar">
				    <button class="btn btn-primary" id="btn-save" style="margin-left:71px"><i class="icon-save"></i> 保存</button>
				  <div class="btn-group">
				  </div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	$(function(){
		$('.setImdBtn').click(function(){
			$('#setImd').selfups();
		});
		$('#btn-save').click(function(){
			setBtn($('#btn-save'));
			$('#formid').submit();
		});
	})
</script>